#ifndef __TS_PEER_SESSION_HEADER_FILE_20060206__
#define __TS_PEER_SESSION_HEADER_FILE_20060206__
#ifdef __Win32__
#pragma warning(disable:4786)
#endif


#include "OSThread.h"
#include "OSHeaders.h"

class CTSTransfer;

class CTSPeerSession : public OSTask
{
public:
	CTSPeerSession(UInt32 _SessionID);
	~CTSPeerSession();

	Bool Initialize();

	Bool SetTcpFd(Int32 v_inFD);	

protected:
	Bool Run();
	Bool Destroy();

	void PrintData(const char *v_Str, UInt32 v_Len);
private:
	UInt32				m_SessionID;

	CTSTransfer			*m_pTsTransfer;

	Int32				m_TimeBuffer;

};


#endif






















